package com.lagou.edu.pojo;

/**
 * @author 赵虎
 * @date 2021/1/11 2:40 上午
 */
public class TPMonitor {
    private String key;
    private Long tp90;
    private Long tp99;
    private Integer totalReq;

    public TPMonitor(String key, Long tp90, Long tp99, Integer totalReq) {
        this.key = key;
        this.tp90 = tp90;
        this.tp99 = tp99;
        this.totalReq = totalReq;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getTp90() {
        return tp90;
    }

    public void setTp90(Long tp90) {
        this.tp90 = tp90;
    }

    public Long getTp99() {
        return tp99;
    }

    public void setTp99(Long tp99) {
        this.tp99 = tp99;
    }

    public Integer getTotalReq() {
        return totalReq;
    }

    public void setTotalReq(Integer totalReq) {
        this.totalReq = totalReq;
    }

    @Override
    public String toString() {
        return "TPMonitor{" +
                "key='" + key + '\'' +
                ", tp90=" + tp90 +
                ", tp99=" + tp99 +
                ", totalReq=" + totalReq +
                '}';
    }
}
